module.exports = {
    lintOnSave: false,
    // 全局引入scss文件
	chainWebpack: config => {
		const oneOfsMap = config.module.rule('scss').oneOfs.store
		oneOfsMap.forEach(item => {
			item.use('sass-resources-loader')
				.loader('sass-resources-loader')
				.options({
					// Provide path to the file with resources
					// 要公用的scss的路径
					resources: ['./src/assets/varibles.scss']
				})
				.end()
		})
	},
}